//
//  MyZhuoXinButton.m
//  ZhuoxinAgriculture
//
//  Created by maxine on 2016/11/8.
//  Copyright © 2016年 KKING. All rights reserved.
//

#import "MyZhuoXinButton.h"

@implementation MyZhuoXinButton

-(void)layoutSubviews{

    [super layoutSubviews];

    self.imageView.center = CGPointMake(self.bounds.size.width/2, self.bounds.size.height/2);
    
    float cx = self.bounds.size.width/2;
    
    
    self.titleLabel.center = CGPointMake(cx,self.imageView.center.y+ self.imageView.bounds.size.height/2+5+self.imageView.bounds.size.height/2);
    

}

@end
